﻿using System;
using System.Windows.Forms;

namespace DFWpfApp1
{
    public partial class UserControl1 : UserControl
    {


        public UserControl1()
        {
            InitializeComponent();



        }

        private void button1_Click(object sender, EventArgs e)
        {
            label1.Text = DateTime.Now.ToString();
        }


        private void button2_Click(object sender, EventArgs e)
        {
            if (_opacityPanel != null)
            {
                return;
            }


        }

        public double Opacity
        {
            get { return _opacityPanel.Opacity; }
            set
            {
                _opacityPanel.Opacity = value;
            }
        }
    }
}
